
#ifndef		_GRASSYLAND_H
#define		_GRASSYLAND_H

#include <SDL\SDL.h>
#include <SDL\SDL_ttf.h>

#include "defs.h"
#include "Event.h"
#include "Surface.h"
#include "FPS.h"
#include "World.h"

class GrassyLand : public Event {

	private:
		bool running;
		SDL_Surface* displaySurface;
		char windowTitle[50];
		World world;

	public:
		GrassyLand();

		int execute();
		bool init();
		void loop();
		void render();
		void cleanup();

		//From Event
		void OnExit();
		void OnKeyDown(SDLKey sym, SDLMod mod, Uint16 unicode);
		void OnKeyUp(SDLKey sym, SDLMod mod, Uint16 unicode);
};


#endif
